package com.example.dmdomain;

import com.example.dmdomain.entity.ApplicationLog;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface ApplicationRepository extends JpaRepository<ApplicationLog, String>, JpaSpecificationExecutor<ApplicationLog> {

	List<ApplicationLog> findAllByApplicationId_UserIdOrderByTimeDesc(String userId);
}
